package com.adam.example.entity.client;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;

@JsonIgnoreProperties(ignoreUnknown = true)  //忽略不在Book类中出现的字段
@Data
public class Book {
    private Long id;
    private String title;
    private String description;
    private String author;
    private String language;
    private Double price;
    @JsonProperty("publish_time")
    private String publishTime;
}
